package com.chat.entity;

import java.io.Serializable;
import java.sql.Date;

/**
 * 用户请求加入room表单
 */
public class UserJoinRoomForm extends Entity implements Serializable {
    private int id;
    private int userId;
    private int roomId;
    private int approverId;//审批人Id
    private Date createTime;
    private boolean result;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public int getApproverId() {
        return approverId;
    }

    public void setApproverId(int approverId) {
        this.approverId = approverId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String toString() {
        return "UserJoinRoomForm(id=" + this.getId() + ", userId=" + this.getUserId() + ", roomId=" + this.getRoomId() + ", approverId=" + this.getApproverId() + ", createTime=" + this.getCreateTime() + ", result=" + this.isResult() + ")";
    }
}
